package com.xiaoshuidi.cloud.module.report.dal.mapper;

import com.baomidou.mybatisplus.annotation.InterceptorIgnore;
import com.xiaoshuidi.cloud.framework.mybatis.core.mapper.BaseMapperX;
import com.xiaoshuidi.cloud.module.report.dal.DO.ContractRoommateDO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
@InterceptorIgnore(tenantLine = "true")
public interface ContractRoommateMapper extends BaseMapperX<ContractRoommateDO> {

    List<ContractRoommateDO> selectByRoomContractId(@Param("contractId")Long contractId);

    List<ContractRoommateDO> selectByRoomContractIds(@Param("contractIds")List<Long> contractIds);

}
